package com.seaboxdata.service.impl;

import com.seaboxdata.dao.SyxxDao;
import com.seaboxdata.entity.Syxx;
import com.seaboxdata.service.SyxxService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @author
 * @create 2021-06-23 14:48
 **/
@Service("syxxService")
public class SyxxServiceImpl implements SyxxService {

    @Autowired
    private SyxxDao syxxDao;

    @Override
    public Syxx getByCardNoAndName(String cardNo, String name) {
        return syxxDao.getByCardNoAndName(cardNo,name);
    }

    @Override
    public Syxx getByCardNoAndNameEncode(String cardNo, String name) {
        return syxxDao.getByCardNoAndNameEncode(cardNo,name);
    }
}
